Push
data class Push(val animated: Boolean = true, val push: () -> <Error class: unknown class>, val completion: () -> Unit? = null) : NavigationSpec
Navigates to a new view controller by pushing it on top of the parents UINavigationController
Parameters
animated
Specifies whether transition should be animated
push
Function to create the UIViewController to push
completion
Optional function to call when push has completed